package com.may.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.may.entity.Permission;
import com.may.entity.User;

import java.util.List;

/**
 * @author May
 * @date 2020/11/04 15:29
 */
public interface UserService extends IService<User> {
    User findRoleByUserName(String name);
    List<Permission> findPermissionByRoleId(Integer id);
}
